public class AreaTest2
{
	public static void main(String[] args) 
	{
		Shape[] obj = new Shape[2];
		obj[0] = new Rectangle2(2,10);
		obj[1] = new Circle2(3);

		AreaCalculator2 ac = new AreaCalculator2();
		int temp = ac.Area(obj);
		System.out.println(temp);
	}
}
